﻿        <div class="col-md-3">
            <div class="sidebar-right">
                <div class="search">
                    <form>

                        <div class="form-search">
                            <div class="input-group">
                                <input type="text" class="form-control" placeholder="Tìm kiếm">
                                <span class="input-group-btn"><button class="btn btn-default" type="submit">Tìm kiếm</button></span>
                            </div>
                        </div>
                    </form>
                </div>
            </div>
            <div class="categories">
                <div class="panel panel-default">
                    <ol class="list-unstyled" style="margin-left:10px">					
					<?php if ( is_user_logged_in() ) {?>
						<b>Quản trị viên</b>
						<ul>
							<li class="cat-item"><a href="./wp-admin/admin.php?page=Quan_ly_bai_viet">Quản lý bài viết</a></li>
							<li class="cat-item"><a href="./wp-admin/admin.php?page=Quan_ly_danh_ba">Quản lý danh bạ</a></li>					
						</ul>
					<?php }else{?>	
						<li class="cat-item"><a href="./wp-admin">Đăng nhập</a></li>
					<?php }?>
                    </ol>
                </div>
                <div class="panel panel-default">
                    <ol class="list-unstyled" style="margin-left:10px">
						<b>Chuyên mục</b>
						<style>.list-unstyled label{display: none;}</style>
                        <?php
                            wp_list_categories('hide_empty=1&show_count=1&title_li=<label>' . __(' Category') . '</label>' );
                        ?>
                    </ol>
                </div>
            </div>
        </div>
    </div>
</div>
</section>